/**
 * @Version v1.0
 * @Description: TODO
 * @Author ZHANZHONGXIN
 * @Date 2022/5/6 14:48
 * @Copyright 博为峰
 */
public class ForDemo02 {
    public static void main(String[] args) {
        //break continue
        for (int i = 0; i < 5; i++) {
            if (i == 2) {
//                break;//结束整个循环
                continue;//结束本次循环
            }
            System.out.println("i = " + i);
        }
    }
}
